const state0 = {
    token:sessionStorage.getItem('token') || '',
    userMessage:JSON.parse(sessionStorage.getItem('userMessage')) || '',
}
const mutations0 = {
    getToken(state,token){
        state.token = token
        sessionStorage.setItem('token',token)
    },
    getUserMessage(state,userMessage){
        state.userMessage = JSON.parse(userMessage)
        sessionStorage.setItem('userMessage',userMessage)
    }
}   
const actions0 = {

}
const getters0 = {

}
export {state0,mutations0,getters0,actions0} 